#ifndef CHARACTERGRAPHIC_H
#define CHARACTERGRAPHIC_H

#include "display/Displayable.hpp"

#include "util/Debug.hpp"

#include "GameEngine/Character.hpp"

#include "display/GameInfo.hpp"

class CharacterGraphic : public Displayable
{
    public:
        CharacterGraphic(Character*);
        virtual ~CharacterGraphic();

        virtual void draw(sf::RenderWindow*);
        virtual void DoEvent(sf::Event);
        virtual void DoRealTimeEvent(const sf::Input&);

        Character* GetCharacter() { return m_character; }
    protected:
        virtual void drawLife(sf::RenderWindow*);
    private:
        Character*	m_character;
        sf::Image* 	m_image;
        sf::Sprite* m_sprite;

};

#endif // CHARACTERGRAPHIC_H
